<?php
/**
 * ExtJsonReader class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtJsonReader extends ExtDataReader
{
    /**
     * Gets the value of ExtJS idProperty property
     * @return String 
     */
    public function getIdProperty()
    {
    	return $this->getConfig("idproperty");
    }

    /**
     * Sets the value of ExtJS idProperty property
     * @param String $value 
     */
    public function setIdProperty($value)
    {
    	$this->setConfig("idproperty",$value);
    }

    /**
     * Gets the value of ExtJS root property
     * @return String 
     */
    public function getRoot()
    {
    	return $this->getConfig("root");
    }

    /**
     * Sets the value of ExtJS root property
     * @param String $value 
     */
    public function setRoot($value)
    {
    	$this->setConfig("root",$value);
    }

    /**
     * Gets the value of ExtJS successProperty property
     * @return String 
     */
    public function getSuccessProperty()
    {
    	return $this->getConfig("successproperty");
    }

    /**
     * Sets the value of ExtJS successProperty property
     * @param String $value 
     */
    public function setSuccessProperty($value)
    {
    	$this->setConfig("successproperty",$value);
    }

    /**
     * Gets the value of ExtJS totalProperty property
     * @return String 
     */
    public function getTotalProperty()
    {
    	return $this->getConfig("totalproperty");
    }

    /**
     * Sets the value of ExtJS totalProperty property
     * @param String $value 
     */
    public function setTotalProperty($value)
    {
    	$this->setConfig("totalproperty",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'idproperty' => 'idProperty',
            'successproperty' => 'successProperty',
            'totalproperty' => 'totalProperty'
        ));



        $this->setXType(null);
        $this->setXClass('Ext.data.JsonReader');
    }    
}
?>